package com.financial.service.heemoney.controller.report;

import com.financial.service.heemoney.dto.inparameter.HeemoneyRegisterInParamDTO;
import com.financial.service.heemoney.service.FinancialRegisterHeemoneylogService;
import com.financial.service.heemoney.utils.apiresult.ApiResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * 汇收银商户简要注册信息
 * 
 * @author zhaopengjun
 * @email dashuaizhao@aliyun.com
 * @date 2019-12-23 10:39:38
 */
 
@RestController
@RequestMapping("/heemoneyRegister")
public class HeemoneyRegisterController {
	@Autowired
	private FinancialRegisterHeemoneylogService financialRegisterHeemoneylogService;

	@PostMapping("/register")
	public Map<String, Object> register(@RequestBody HeemoneyRegisterInParamDTO heemoneyRegisterInParamDTO) {
 		return financialRegisterHeemoneylogService.register(heemoneyRegisterInParamDTO);
	}

}
